<?php
$tdatatbl_dich_vu=array();
	$tdatatbl_dich_vu[".NumberOfChars"]=80; 
	$tdatatbl_dich_vu[".ShortName"]="tbl_dich_vu";
	$tdatatbl_dich_vu[".OwnerID"]="";
	$tdatatbl_dich_vu[".OriginalTable"]="tbl_dich_vu";


	
//	field labels
$fieldLabelstbl_dich_vu = array();
if(mlang_getcurrentlang()=="English")
{
	$fieldLabelstbl_dich_vu["English"]=array();
	$fieldToolTipstbl_dich_vu["English"]=array();
	$fieldLabelstbl_dich_vu["English"]["id"] = "Id";
	$fieldToolTipstbl_dich_vu["English"]["id"] = "";
	$fieldLabelstbl_dich_vu["English"]["tieu_de_vn"] = "Tieu De Vn";
	$fieldToolTipstbl_dich_vu["English"]["tieu_de_vn"] = "";
	$fieldLabelstbl_dich_vu["English"]["tieu_de_en"] = "Tieu De En";
	$fieldToolTipstbl_dich_vu["English"]["tieu_de_en"] = "";
	$fieldLabelstbl_dich_vu["English"]["hinh_anh"] = "Hinh Anh";
	$fieldToolTipstbl_dich_vu["English"]["hinh_anh"] = "";
	$fieldLabelstbl_dich_vu["English"]["mo_ta_ngan_gon_vn"] = "Mo Ta Ngan Gon Vn";
	$fieldToolTipstbl_dich_vu["English"]["mo_ta_ngan_gon_vn"] = "";
	$fieldLabelstbl_dich_vu["English"]["mo_ta_ngan_gon_en"] = "Mo Ta Ngan Gon En";
	$fieldToolTipstbl_dich_vu["English"]["mo_ta_ngan_gon_en"] = "";
	$fieldLabelstbl_dich_vu["English"]["mo_ta_chi_tiet_vn"] = "Mo Ta Chi Tiet Vn";
	$fieldToolTipstbl_dich_vu["English"]["mo_ta_chi_tiet_vn"] = "";
	$fieldLabelstbl_dich_vu["English"]["mo_ta_chi_tiet_en"] = "Mo Ta Chi Tiet En";
	$fieldToolTipstbl_dich_vu["English"]["mo_ta_chi_tiet_en"] = "";
	if (count($fieldToolTipstbl_dich_vu["English"])){
		$tdatatbl_dich_vu[".isUseToolTips"]=true;
	}
}


	
	$tdatatbl_dich_vu[".NCSearch"]=true;

	

$tdatatbl_dich_vu[".shortTableName"] = "tbl_dich_vu";
$tdatatbl_dich_vu[".nSecOptions"] = 0;
$tdatatbl_dich_vu[".recsPerRowList"] = 1;	
$tdatatbl_dich_vu[".tableGroupBy"] = "0";
$tdatatbl_dich_vu[".mainTableOwnerID"] = "";
$tdatatbl_dich_vu[".moveNext"] = 1;




$tdatatbl_dich_vu[".showAddInPopup"] = false;

$tdatatbl_dich_vu[".showEditInPopup"] = false;

$tdatatbl_dich_vu[".showViewInPopup"] = false;


$tdatatbl_dich_vu[".fieldsForRegister"] = array();
	
$tdatatbl_dich_vu[".listAjax"] = false;

	$tdatatbl_dich_vu[".audit"] = false;

	$tdatatbl_dich_vu[".locking"] = false;
	
$tdatatbl_dich_vu[".listIcons"] = true;
$tdatatbl_dich_vu[".edit"] = true;
$tdatatbl_dich_vu[".inlineEdit"] = true;
$tdatatbl_dich_vu[".view"] = true;

$tdatatbl_dich_vu[".exportTo"] = true;

$tdatatbl_dich_vu[".printFriendly"] = true;

$tdatatbl_dich_vu[".delete"] = true;

$tdatatbl_dich_vu[".showSimpleSearchOptions"] = false;

$tdatatbl_dich_vu[".showSearchPanel"] = true;


$tdatatbl_dich_vu[".isUseAjaxSuggest"] = true;

$tdatatbl_dich_vu[".rowHighlite"] = true;


// button handlers file names

$tdatatbl_dich_vu[".addPageEvents"] = false;

$tdatatbl_dich_vu[".arrKeyFields"][] = "id";

// use datepicker for search panel
$tdatatbl_dich_vu[".isUseCalendarForSearch"] = false;

// use timepicker for search panel
$tdatatbl_dich_vu[".isUseTimeForSearch"] = false;

$tdatatbl_dich_vu[".isUseiBox"] = false;



$tdatatbl_dich_vu[".isUseInlineAdd"] = true;

$tdatatbl_dich_vu[".isUseInlineEdit"] = true;
$tdatatbl_dich_vu[".isUseInlineJs"] = $tdatatbl_dich_vu[".isUseInlineAdd"] || $tdatatbl_dich_vu[".isUseInlineEdit"];

$tdatatbl_dich_vu[".allSearchFields"] = array();

$tdatatbl_dich_vu[".globSearchFields"][] = "tieu_de_vn";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("tieu_de_vn", $tdatatbl_dich_vu[".allSearchFields"]))
{
	$tdatatbl_dich_vu[".allSearchFields"][] = "tieu_de_vn";	
}
$tdatatbl_dich_vu[".globSearchFields"][] = "tieu_de_en";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("tieu_de_en", $tdatatbl_dich_vu[".allSearchFields"]))
{
	$tdatatbl_dich_vu[".allSearchFields"][] = "tieu_de_en";	
}
$tdatatbl_dich_vu[".globSearchFields"][] = "hinh_anh";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("hinh_anh", $tdatatbl_dich_vu[".allSearchFields"]))
{
	$tdatatbl_dich_vu[".allSearchFields"][] = "hinh_anh";	
}
$tdatatbl_dich_vu[".globSearchFields"][] = "mo_ta_ngan_gon_vn";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("mo_ta_ngan_gon_vn", $tdatatbl_dich_vu[".allSearchFields"]))
{
	$tdatatbl_dich_vu[".allSearchFields"][] = "mo_ta_ngan_gon_vn";	
}
$tdatatbl_dich_vu[".globSearchFields"][] = "mo_ta_ngan_gon_en";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("mo_ta_ngan_gon_en", $tdatatbl_dich_vu[".allSearchFields"]))
{
	$tdatatbl_dich_vu[".allSearchFields"][] = "mo_ta_ngan_gon_en";	
}


$tdatatbl_dich_vu[".googleLikeFields"][] = "id";
$tdatatbl_dich_vu[".googleLikeFields"][] = "tieu_de_vn";
$tdatatbl_dich_vu[".googleLikeFields"][] = "tieu_de_en";
$tdatatbl_dich_vu[".googleLikeFields"][] = "hinh_anh";
$tdatatbl_dich_vu[".googleLikeFields"][] = "mo_ta_ngan_gon_vn";
$tdatatbl_dich_vu[".googleLikeFields"][] = "mo_ta_ngan_gon_en";



$tdatatbl_dich_vu[".advSearchFields"][] = "id";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("id", $tdatatbl_dich_vu[".allSearchFields"])) 
{
	$tdatatbl_dich_vu[".allSearchFields"][] = "id";	
}
$tdatatbl_dich_vu[".advSearchFields"][] = "tieu_de_vn";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("tieu_de_vn", $tdatatbl_dich_vu[".allSearchFields"])) 
{
	$tdatatbl_dich_vu[".allSearchFields"][] = "tieu_de_vn";	
}
$tdatatbl_dich_vu[".advSearchFields"][] = "tieu_de_en";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("tieu_de_en", $tdatatbl_dich_vu[".allSearchFields"])) 
{
	$tdatatbl_dich_vu[".allSearchFields"][] = "tieu_de_en";	
}
$tdatatbl_dich_vu[".advSearchFields"][] = "hinh_anh";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("hinh_anh", $tdatatbl_dich_vu[".allSearchFields"])) 
{
	$tdatatbl_dich_vu[".allSearchFields"][] = "hinh_anh";	
}
$tdatatbl_dich_vu[".advSearchFields"][] = "mo_ta_ngan_gon_vn";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("mo_ta_ngan_gon_vn", $tdatatbl_dich_vu[".allSearchFields"])) 
{
	$tdatatbl_dich_vu[".allSearchFields"][] = "mo_ta_ngan_gon_vn";	
}
$tdatatbl_dich_vu[".advSearchFields"][] = "mo_ta_ngan_gon_en";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("mo_ta_ngan_gon_en", $tdatatbl_dich_vu[".allSearchFields"])) 
{
	$tdatatbl_dich_vu[".allSearchFields"][] = "mo_ta_ngan_gon_en";	
}
$tdatatbl_dich_vu[".advSearchFields"][] = "mo_ta_chi_tiet_vn";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("mo_ta_chi_tiet_vn", $tdatatbl_dich_vu[".allSearchFields"])) 
{
	$tdatatbl_dich_vu[".allSearchFields"][] = "mo_ta_chi_tiet_vn";	
}
$tdatatbl_dich_vu[".advSearchFields"][] = "mo_ta_chi_tiet_en";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("mo_ta_chi_tiet_en", $tdatatbl_dich_vu[".allSearchFields"])) 
{
	$tdatatbl_dich_vu[".allSearchFields"][] = "mo_ta_chi_tiet_en";	
}

$tdatatbl_dich_vu[".isTableType"] = "list";


	

$tdatatbl_dich_vu[".isDisplayLoading"] = true;

$tdatatbl_dich_vu[".isResizeColumns"] = false;





$tdatatbl_dich_vu[".pageSize"] = 20;

$gstrOrderBy = "";
if(strlen($gstrOrderBy) && strtolower(substr($gstrOrderBy,0,8))!="order by")
	$gstrOrderBy = "order by ".$gstrOrderBy;
$tdatatbl_dich_vu[".strOrderBy"] = $gstrOrderBy;
	
$tdatatbl_dich_vu[".orderindexes"] = array();

$tdatatbl_dich_vu[".sqlHead"] = "SELECT id,   tieu_de_vn,   tieu_de_en,   hinh_anh,   mo_ta_ngan_gon_vn,   mo_ta_ngan_gon_en,   mo_ta_chi_tiet_vn,   mo_ta_chi_tiet_en";
$tdatatbl_dich_vu[".sqlFrom"] = "FROM tbl_dich_vu";
$tdatatbl_dich_vu[".sqlWhereExpr"] = "";
$tdatatbl_dich_vu[".sqlTail"] = "";




//fill array of records per page for list and report without group fields
$arrRPP = array();
$arrRPP[] = 10;
$arrRPP[] = 20;
$arrRPP[] = 30;
$arrRPP[] = 50;
$arrRPP[] = 100;
$arrRPP[] = 500;
$arrRPP[] = -1;
$tdatatbl_dich_vu[".arrRecsPerPage"] = $arrRPP;

//fill array of groups per page for report with group fields
$arrGPP = array();
$arrGPP[] = 1;
$arrGPP[] = 3;
$arrGPP[] = 5;
$arrGPP[] = 10;
$arrGPP[] = 50;
$arrGPP[] = 100;
$arrGPP[] = -1;
$tdatatbl_dich_vu[".arrGroupsPerPage"] = $arrGPP;

	$tableKeys = array();
	$tableKeys[] = "id";
	$tdatatbl_dich_vu[".Keys"] = $tableKeys;

//	id
	$fdata = array();
	$fdata["strName"] = "id";
	$fdata["ownerTable"] = "tbl_dich_vu";
		$fdata["Label"]="Id"; 
	
		
		
	$fdata["FieldType"]= 3;
	
		$fdata["AutoInc"]=true;
	
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "id";
	
		$fdata["FullName"]= "id";
	
		$fdata["IsRequired"]=true; 
	
		
		
		
		
				$fdata["Index"]= 1;
				$fdata["EditParams"]="";
			
		
		
		
		
		
		
		
		
		
	//Begin validation
	$fdata["validateAs"] = array();
				$fdata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");	
						$fdata["validateAs"]["basicValidate"][] = "IsRequired";
	
				//End validation
	
				
		
				
		
		
		
			$tdatatbl_dich_vu["id"]=$fdata;
//	tieu_de_vn
	$fdata = array();
	$fdata["strName"] = "tieu_de_vn";
	$fdata["ownerTable"] = "tbl_dich_vu";
		$fdata["Label"]="Tieu De Vn"; 
	
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "tieu_de_vn";
	
		$fdata["FullName"]= "tieu_de_vn";
	
		
		
		
		
		
				$fdata["Index"]= 2;
				$fdata["EditParams"]="";
			$fdata["EditParams"].= " maxlength=200";
			$fdata["EditParams"].= " size=60";
	
		$fdata["bListPage"]=true; 
	
		$fdata["bAddPage"]=true; 
	
		$fdata["bInlineAdd"]=true; 
	
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
		
				//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdatatbl_dich_vu["tieu_de_vn"]=$fdata;
//	tieu_de_en
	$fdata = array();
	$fdata["strName"] = "tieu_de_en";
	$fdata["ownerTable"] = "tbl_dich_vu";
		$fdata["Label"]="Tieu De En"; 
	
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "tieu_de_en";
	
		$fdata["FullName"]= "tieu_de_en";
	
		
		
		
		
		
				$fdata["Index"]= 3;
				$fdata["EditParams"]="";
			$fdata["EditParams"].= " maxlength=200";
			$fdata["EditParams"].= " size=60";
	
		$fdata["bListPage"]=true; 
	
		$fdata["bAddPage"]=true; 
	
		$fdata["bInlineAdd"]=true; 
	
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
		
				//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdatatbl_dich_vu["tieu_de_en"]=$fdata;
//	hinh_anh
	$fdata = array();
	$fdata["strName"] = "hinh_anh";
	$fdata["ownerTable"] = "tbl_dich_vu";
		$fdata["Label"]="Hinh Anh"; 
	
		
		$fdata["LinkPrefix"]="upload/"; 
	
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Document upload";
	$fdata["ViewFormat"]= "Document Download";
	
		
		
		
		
		
	$fdata["GoodName"]= "hinh_anh";
	
		$fdata["FullName"]= "hinh_anh";
	
		
		
		
		
		
			$fdata["UploadFolder"]="upload"; 
		$fdata["Index"]= 4;
				
		$fdata["bListPage"]=true; 
	
		$fdata["bAddPage"]=true; 
	
		$fdata["bInlineAdd"]=true; 
	
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
		
				//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdatatbl_dich_vu["hinh_anh"]=$fdata;
//	mo_ta_ngan_gon_vn
	$fdata = array();
	$fdata["strName"] = "mo_ta_ngan_gon_vn";
	$fdata["ownerTable"] = "tbl_dich_vu";
		$fdata["Label"]="Mo Ta Ngan Gon Vn"; 
	
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text area";
	$fdata["ViewFormat"]= "Custom";
	
		
		
		
		
		
	$fdata["GoodName"]= "mo_ta_ngan_gon_vn";
	
		$fdata["FullName"]= "mo_ta_ngan_gon_vn";
	
		
		$fdata["UseRTE"]=true; 
	
		
		$fdata["UseRTEFCK"] = true;
	
		
				$fdata["Index"]= 5;
			$fdata["EditParams"] = "";
			$fdata["EditParams"].= " rows=100";
		$fdata["nRows"] = 100;
			$fdata["EditParams"].= " cols=600";
		$fdata["nCols"] = 600;
		
		$fdata["bListPage"]=true; 
	
		$fdata["bAddPage"]=true; 
	
		$fdata["bInlineAdd"]=true; 
	
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
		
				//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdatatbl_dich_vu["mo_ta_ngan_gon_vn"]=$fdata;
//	mo_ta_ngan_gon_en
	$fdata = array();
	$fdata["strName"] = "mo_ta_ngan_gon_en";
	$fdata["ownerTable"] = "tbl_dich_vu";
		$fdata["Label"]="Mo Ta Ngan Gon En"; 
	
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text area";
	$fdata["ViewFormat"]= "Custom";
	
		
		
		
		
		
	$fdata["GoodName"]= "mo_ta_ngan_gon_en";
	
		$fdata["FullName"]= "mo_ta_ngan_gon_en";
	
		
		$fdata["UseRTE"]=true; 
	
		
		$fdata["UseRTEFCK"] = true;
	
		
				$fdata["Index"]= 6;
			$fdata["EditParams"] = "";
			$fdata["EditParams"].= " rows=100";
		$fdata["nRows"] = 100;
			$fdata["EditParams"].= " cols=600";
		$fdata["nCols"] = 600;
		
		$fdata["bListPage"]=true; 
	
		$fdata["bAddPage"]=true; 
	
		$fdata["bInlineAdd"]=true; 
	
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
		
				//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdatatbl_dich_vu["mo_ta_ngan_gon_en"]=$fdata;
//	mo_ta_chi_tiet_vn
	$fdata = array();
	$fdata["strName"] = "mo_ta_chi_tiet_vn";
	$fdata["ownerTable"] = "tbl_dich_vu";
		$fdata["Label"]="Mo Ta Chi Tiet Vn"; 
	
		
		
	$fdata["FieldType"]= 128;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text area";
	$fdata["ViewFormat"]= "Custom";
	
		
		
		
		
		
	$fdata["GoodName"]= "mo_ta_chi_tiet_vn";
	
		$fdata["FullName"]= "mo_ta_chi_tiet_vn";
	
		
		$fdata["UseRTE"]=true; 
	
		
		$fdata["UseRTEFCK"] = true;
	
		
				$fdata["Index"]= 7;
			$fdata["EditParams"] = "";
			$fdata["EditParams"].= " rows=1200";
		$fdata["nRows"] = 1200;
			$fdata["EditParams"].= " cols=600";
		$fdata["nCols"] = 600;
		
		$fdata["bListPage"]=true; 
	
		$fdata["bAddPage"]=true; 
	
		$fdata["bInlineAdd"]=true; 
	
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		$fdata["bViewPage"]=true; 
	
		
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
		
				//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdatatbl_dich_vu["mo_ta_chi_tiet_vn"]=$fdata;
//	mo_ta_chi_tiet_en
	$fdata = array();
	$fdata["strName"] = "mo_ta_chi_tiet_en";
	$fdata["ownerTable"] = "tbl_dich_vu";
		$fdata["Label"]="Mo Ta Chi Tiet En"; 
	
		
		
	$fdata["FieldType"]= 128;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text area";
	$fdata["ViewFormat"]= "Custom";
	
		
		
		
		
		
	$fdata["GoodName"]= "mo_ta_chi_tiet_en";
	
		$fdata["FullName"]= "mo_ta_chi_tiet_en";
	
		
		$fdata["UseRTE"]=true; 
	
		
		$fdata["UseRTEFCK"] = true;
	
		
				$fdata["Index"]= 8;
			$fdata["EditParams"] = "";
			$fdata["EditParams"].= " rows=1200";
		$fdata["nRows"] = 1200;
			$fdata["EditParams"].= " cols=600";
		$fdata["nCols"] = 600;
		
		$fdata["bListPage"]=true; 
	
		$fdata["bAddPage"]=true; 
	
		$fdata["bInlineAdd"]=true; 
	
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		$fdata["bViewPage"]=true; 
	
		
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
		
				//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdatatbl_dich_vu["mo_ta_chi_tiet_en"]=$fdata;

	
$tables_data["tbl_dich_vu"]=&$tdatatbl_dich_vu;
$field_labels["tbl_dich_vu"] = &$fieldLabelstbl_dich_vu;
$fieldToolTips["tbl_dich_vu"] = &$fieldToolTipstbl_dich_vu;

// -----------------start  prepare master-details data arrays ------------------------------//
// tables which are detail tables for current table (master)
$detailsTablesData["tbl_dich_vu"] = array();

	
// tables which are master tables for current table (detail)
$masterTablesData["tbl_dich_vu"] = array();

// -----------------end  prepare master-details data arrays ------------------------------//

require_once(getabspath("classes/sql.php"));










$proto101=array();
$proto101["m_strHead"] = "SELECT";
$proto101["m_strFieldList"] = "id,   tieu_de_vn,   tieu_de_en,   hinh_anh,   mo_ta_ngan_gon_vn,   mo_ta_ngan_gon_en,   mo_ta_chi_tiet_vn,   mo_ta_chi_tiet_en";
$proto101["m_strFrom"] = "FROM tbl_dich_vu";
$proto101["m_strWhere"] = "";
$proto101["m_strOrderBy"] = "";
$proto101["m_strTail"] = "";
$proto102=array();
$proto102["m_sql"] = "";
$proto102["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

$proto102["m_column"]=$obj;
$proto102["m_contained"] = array();
$proto102["m_strCase"] = "";
$proto102["m_havingmode"] = "0";
$proto102["m_inBrackets"] = "0";
$proto102["m_useAlias"] = "0";
$obj = new SQLLogicalExpr($proto102);

$proto101["m_where"] = $obj;
$proto104=array();
$proto104["m_sql"] = "";
$proto104["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

$proto104["m_column"]=$obj;
$proto104["m_contained"] = array();
$proto104["m_strCase"] = "";
$proto104["m_havingmode"] = "0";
$proto104["m_inBrackets"] = "0";
$proto104["m_useAlias"] = "0";
$obj = new SQLLogicalExpr($proto104);

$proto101["m_having"] = $obj;
$proto101["m_fieldlist"] = array();
						$proto106=array();
			$obj = new SQLField(array(
	"m_strName" => "id",
	"m_strTable" => "tbl_dich_vu"
));

$proto106["m_expr"]=$obj;
$proto106["m_alias"] = "";
$obj = new SQLFieldListItem($proto106);

$proto101["m_fieldlist"][]=$obj;
						$proto108=array();
			$obj = new SQLField(array(
	"m_strName" => "tieu_de_vn",
	"m_strTable" => "tbl_dich_vu"
));

$proto108["m_expr"]=$obj;
$proto108["m_alias"] = "";
$obj = new SQLFieldListItem($proto108);

$proto101["m_fieldlist"][]=$obj;
						$proto110=array();
			$obj = new SQLField(array(
	"m_strName" => "tieu_de_en",
	"m_strTable" => "tbl_dich_vu"
));

$proto110["m_expr"]=$obj;
$proto110["m_alias"] = "";
$obj = new SQLFieldListItem($proto110);

$proto101["m_fieldlist"][]=$obj;
						$proto112=array();
			$obj = new SQLField(array(
	"m_strName" => "hinh_anh",
	"m_strTable" => "tbl_dich_vu"
));

$proto112["m_expr"]=$obj;
$proto112["m_alias"] = "";
$obj = new SQLFieldListItem($proto112);

$proto101["m_fieldlist"][]=$obj;
						$proto114=array();
			$obj = new SQLField(array(
	"m_strName" => "mo_ta_ngan_gon_vn",
	"m_strTable" => "tbl_dich_vu"
));

$proto114["m_expr"]=$obj;
$proto114["m_alias"] = "";
$obj = new SQLFieldListItem($proto114);

$proto101["m_fieldlist"][]=$obj;
						$proto116=array();
			$obj = new SQLField(array(
	"m_strName" => "mo_ta_ngan_gon_en",
	"m_strTable" => "tbl_dich_vu"
));

$proto116["m_expr"]=$obj;
$proto116["m_alias"] = "";
$obj = new SQLFieldListItem($proto116);

$proto101["m_fieldlist"][]=$obj;
						$proto118=array();
			$obj = new SQLField(array(
	"m_strName" => "mo_ta_chi_tiet_vn",
	"m_strTable" => "tbl_dich_vu"
));

$proto118["m_expr"]=$obj;
$proto118["m_alias"] = "";
$obj = new SQLFieldListItem($proto118);

$proto101["m_fieldlist"][]=$obj;
						$proto120=array();
			$obj = new SQLField(array(
	"m_strName" => "mo_ta_chi_tiet_en",
	"m_strTable" => "tbl_dich_vu"
));

$proto120["m_expr"]=$obj;
$proto120["m_alias"] = "";
$obj = new SQLFieldListItem($proto120);

$proto101["m_fieldlist"][]=$obj;
$proto101["m_fromlist"] = array();
												$proto122=array();
$proto122["m_link"] = "SQLL_MAIN";
			$proto123=array();
$proto123["m_strName"] = "tbl_dich_vu";
$proto123["m_columns"] = array();
$proto123["m_columns"][] = "id";
$proto123["m_columns"][] = "tieu_de_vn";
$proto123["m_columns"][] = "tieu_de_en";
$proto123["m_columns"][] = "hinh_anh";
$proto123["m_columns"][] = "mo_ta_ngan_gon_vn";
$proto123["m_columns"][] = "mo_ta_ngan_gon_en";
$proto123["m_columns"][] = "mo_ta_chi_tiet_vn";
$proto123["m_columns"][] = "mo_ta_chi_tiet_en";
$obj = new SQLTable($proto123);

$proto122["m_table"] = $obj;
$proto122["m_alias"] = "";
$proto124=array();
$proto124["m_sql"] = "";
$proto124["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

$proto124["m_column"]=$obj;
$proto124["m_contained"] = array();
$proto124["m_strCase"] = "";
$proto124["m_havingmode"] = "0";
$proto124["m_inBrackets"] = "0";
$proto124["m_useAlias"] = "0";
$obj = new SQLLogicalExpr($proto124);

$proto122["m_joinon"] = $obj;
$obj = new SQLFromListItem($proto122);

$proto101["m_fromlist"][]=$obj;
$proto101["m_groupby"] = array();
$proto101["m_orderby"] = array();
$obj = new SQLQuery($proto101);

$queryData_tbl_dich_vu = $obj;
$tdatatbl_dich_vu[".sqlquery"] = $queryData_tbl_dich_vu;

$tableEvents["tbl_dich_vu"] = new eventsBase;

?>
